put card field "quan" * 49.95 into line 1 of card field "calc"
if the hilite of button id 10 is true then
put .06 * line 1 of card field "calc" into line 2 of card field "calc"
else
put empty into line 2 of card field "calc"
end if
if the hilite of button id 11 is true then
put 1.50 into line 4 of card field "calc"
else
put empty into line 4 of card field "calc"
end if
put line 1 of card field "calc" + line 2 of card field "calc" + line 3 of card field "calc" + line 4 of card field "calc" into line 5 of card field "calc"